#include "xdgramtransport.h"
#include <string.h>

XSIPDgramTransport::XSIPDgramTransport()
{

}

XSIPDgramTransport::~XSIPDgramTransport()
{

}

void* XSIPDgramTransport::getObject(const char* name) const
{
	if (strcmp(name, "XSIPDgramTransport") == 0)
		return const_cast<XSIPDgramTransport*>(this);
	else
		return XSIPTransport::getObject(name);
}

int XSIPDgramTransport::sendMessage(XSIPMessage* message, XSIPTransaction* transaction)
{
	return sendMessageEx(message, transaction);
}